﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewAnnouncements.ascx.cs"
    Inherits="RealtyManagementSystem.Web.Common.ViewAnnouncements" %>
<div class="gv_temp_style">
    <asp:GridView ID="gvAnns" runat="server" AutoGenerateColumns="False" BorderStyle="None"
        BorderWidth="0px" BorderColor="#D1EEEE">
        <Columns>
            <asp:TemplateField HeaderText="标题" ItemStyle-CssClass="notice_title_sytle" HeaderStyle-CssClass="notice_title_sytle">
                <ItemTemplate>
                    <a class="temp_a" href='/Common/AnnouncementPreview.aspx?announceId=<%# Eval("Id") %>'>
                        <%# Eval("Title") %></a>
                </ItemTemplate>
                <ItemStyle Width="200px" />
            </asp:TemplateField>
            <asp:BoundField DataField="CreateDate" HeaderText="日期" DataFormatString="{0:dd/MM/yyyy}" />
            <asp:BoundField DataField="Name" HeaderText="作者" />
        </Columns>
    </asp:GridView>
</div>